#include "LightPlanet.h"



LightPlanet::LightPlanet()
{
}


LightPlanet::~LightPlanet()
{
}

LightPlanet::LightPlanet(GLfloat Radius , GLfloat Distance , GLfloat Speed , GLfloat SelfSpeed , Stars * Parent , GLfloat rgbColor[]):
	Planet(radius,distance,speed,selfSpeed,parentStar,rgbaColor)
{
}

void LightPlanet::drawLight()
{
	GLfloat light_position[] = { 0.0f, 0.0f, 0.0f, 1.0f };
	GLfloat light_ambient[] = { 0.0f, 0.0f, 0.0f, 1.0f };
	GLfloat light_diffuse[] = { 1.0f, 1.0f, 1.0f, 1.0f };
	GLfloat light_specular[] = { 1.0f, 1.0f, 1.0f, 1.0f };
	glLightfv(GL_LIGHT0 , GL_POSITION , light_position);
	glLightfv(GL_LIGHT0 , GL_AMBIENT , light_ambient);
	glLightfv(GL_LIGHT0 , GL_DIFFUSE , light_diffuse);
	glLightfv(GL_LIGHT0 , GL_SPECULAR , light_specular);

}
